#import <UIKit/UIKit.h>

@interface ColorFanViewController : UIViewController
    <UIPickerViewDataSource, UIPickerViewDelegate> {
    IBOutlet UIPickerView * colorPicker;
    IBOutlet UIView * sampleView;
    IBOutlet UISlider * alphaSlider;
    NSArray * redValueList;
    NSArray * greenValueList;
    NSArray * blueValueList;
    IBOutlet float alpha;
}

@property(nonatomic, retain) UIPickerView * colorPicker;
@property(nonatomic, retain) UIView * sampleView;
@property(nonatomic, retain) UISlider * alphaSlider;
@property(nonatomic, retain) NSArray * redValueList;
@property(nonatomic, retain) NSArray * greenValueList;
@property(nonatomic, retain) NSArray * blueValueList;
@property(nonatomic) float alpha;
-(IBAction) buttonPressed;
-(IBAction) sliderMoved;
-(void) setColor;
@end

